package com.yunyouyi.intelligent_vehicle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunyouyi.intelligent_vehicle.dto.LoginDTO;
import com.yunyouyi.intelligent_vehicle.entity.User;
import jakarta.validation.Valid;

public interface UserService extends IService<User> {
    /**
     * 登录
     * @param loginDTO
     * @return
     */
    User login(@Valid LoginDTO loginDTO);
    // 可以添加自定义业务方法

}